﻿<%@ Control Language="C#" AutoEventWireup="true" Inherits="HL.Lib.MVC.CPViewControl"%>

<% 
    var model = ViewBag.Model as MMapCityModel;
    var entity = ViewBag.Data as MMapCityEntity;
 %>

<form id="hlForm" name="hlForm" method="post">

<input type="hidden" id="_hl_action" name="_hl_action" />

<div id="toolbar-box">
    <div class="t"><div class="t"><div class="t"></div></div></div>
    <div class="m">
       <div class="toolbar-list" id="toolbar">
            <%=GetDefaultAddCommand()%>
        </div>
        <div class="pagetitle icon-48-plugin">
            <h2>Chức năng : <%=  model.RecordID > 0 ? "Chỉnh sửa" : "Thêm mới"%></h2>
        </div>
        <div class="clr"></div>
    </div>
    <div class="b"><div class="b"><div class="b"></div></div></div>
</div>
<div class="clr"></div>

<%= ShowMessage()%>

<div id="element-box">
    <div class="t"><div class="t"><div class="t"></div></div></div>
    <div class="m">
        <div class="col width-100">

          <table class="admintable">
            <tr>
                <td class="key">
                    <label>Tên tỉnh/thành phố :</label>
                </td>
                <td>
                    <input class="text_input" type="text" name="CityName" value="<%=entity.CityName%>" maxlength="255" />
                </td>
            </tr>
            <tr>
                <td class="key">
                    <label>Kinh độ :</label>
                </td>
                <td>
                    <input class="text_input" type="text" name="X" value="<%=entity.X %>" maxlength="255" />
                </td>
            </tr>
             <tr>
                <td class="key">
                    <label>Vĩ độ :</label>
                </td>
                <td>
                    <input class="text_input" type="text" name="Y" value="<%=entity.Y %>" maxlength="255" />
                </td>
            </tr>
            <tr>
                <td class="key">
                    <label>Vị trí sắp xếp :</label>
                </td>
                <td>
                    <input class="text_input" type="text" name="ZOrder" value="<%=entity.ZOrder %>" maxlength="255" />
                </td>
            </tr>
           
          </table>

        </div>                
        <div class="clr"></div>
    </div>
    <div class="b"><div class="b"><div class="b"></div></div></div>
</div>

</form>